package com.wys.mall.auth.feign;

import com.wys.common.utils.R;
import com.wys.mall.auth.vo.UserLoginVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 第三方服务
 * @Package com.wys.mall.auth.feign
 * @Author charlin
 * @Version: v1.0
 * @Date 2021-07-0514:31
 * @Copyright: 2021 www.wyscha.com Inc. All rights reserved.
 */
@FeignClient("mall-service")
public interface ThirdServiceService {

    @GetMapping(value = "/sms/sendCode")
    R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);


}
